<extend name="Layout/index" />
<block name="breadcrumb-01">
	<li class="active"><{$title}></li>
</block>

<block name="breadcrumb-02">
	<h1>
		<{$title}>
		
	</h1>
</block>
<block name="main">
	
		<table class="table table-striped table-bordered table-hover">
			<thead>
				<tr align='left' bgcolor="#ccc">
					<th>ID</th>
					<th>作者id</th>
					<th>类别id</th>
					<th>封面</th>
					<th>图书名</th>
					<th>简介</th>
					<th>审核状态</th>
					<th>上架时间</th>
					<th>点击量</th>
					<th>推荐次数</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
			<volist name="list" id="vo">
				<tr>
					<td><{$vo.id}></td>
					<td><{$vo.uid}></td>
					<td><{$vo.typeid}></td>
					<td><{$vo.img}></td>
					<td><{$vo.title}></td>
					<td><{$vo.summary}></td>					
                	<td>
	                    <if condition="$vo.status eq '0'">未通过
	                   	<elseif condition="$vo.status eq '1'" />通过
	                   	<elseif condition="$vo.status eq '2'" />下架
	                    </if>
                	</td>
					<td><{$vo.addtime}></td>
					<td><{$vo.click}></td>
					<td><{$vo.recommend}></td>
					<td>
						<a href="<{:U('Book/del',array('id'=>$vo['id']))}>">删除</a>
						<a href="<{:U('Book/edit',array('id'=>$vo['id']))}>">编辑</a>
						<a href="">审核通过</a>
						<a href="">下架</a>
					</td>
				</tr>
			</volist>
			</tbody>
			
			
		</table>
	
</block>